#define _CRT_SECURE_NO_WARNINGS  1
class Sum
{
public:
    Sum()
    {
        ret += i;
        i++;
    }

    static int GetNum()
    {
        return ret;
    }

private:
    static int i;
    static int ret;
};

int Sum::i = 1;
int Sum::ret = 0;


class Solution {
public:
    int Sum_Solution(int n)
    {
        Sum a[n];
        return Sum::GetNum();
    }
};